package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 换脸任务对象 swap_face_task
 * 
 * @author ruoyi
 * @date 2024-09-27
 */
public class SwapFaceTask extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增id */
    private Long id;

    /** 源图片 */
    @Excel(name = "源图片")
    private String srcImg;

    /** 源图片或视频 */
    @Excel(name = "源图片或视频")
    private String srcVideo;

    /** 结果图片或视频 */
    @Excel(name = "结果图片或视频")
    private String destVideo;

    /** 任务状态 */
    @Excel(name = "任务状态")
    private Long status;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 优先级 */
    @Excel(name = "优先级")
    private Long priority;

    /** 批次id */
    @Excel(name = "批次id")
    private Long batchId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSrcImg(String srcImg) 
    {
        this.srcImg = srcImg;
    }

    public String getSrcImg() 
    {
        return srcImg;
    }
    public void setSrcVideo(String srcVideo) 
    {
        this.srcVideo = srcVideo;
    }

    public String getSrcVideo() 
    {
        return srcVideo;
    }
    public void setDestVideo(String destVideo) 
    {
        this.destVideo = destVideo;
    }

    public String getDestVideo() 
    {
        return destVideo;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setPriority(Long priority) 
    {
        this.priority = priority;
    }

    public Long getPriority() 
    {
        return priority;
    }
    public void setBatchId(Long batchId) 
    {
        this.batchId = batchId;
    }

    public Long getBatchId() 
    {
        return batchId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("srcImg", getSrcImg())
            .append("srcVideo", getSrcVideo())
            .append("destVideo", getDestVideo())
            .append("status", getStatus())
            .append("userId", getUserId())
            .append("priority", getPriority())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("batchId", getBatchId())
            .toString();
    }
}
